package erlangtools.parser;

public class ReplaceDescription {
	public static final int COMMENT = 0;
	public static final int STRING = 1;
	public static final int PARENTHESIS = 2;
	public static final int CURLY_BRACKET = 3;
	public static final int BRACKET = 4;
	public static final int ATOM = 5;
	
	private int level;
	private int from;
	private int length;
	private int newLength;
	private int type;
	private int id;
	private String text;
	
	public ReplaceDescription(int level, int from, int length, int newLength, int type,
			int id, String text) {
		super();
		this.level = level;
		this.from = from;
		this.length = length;
		this.newLength = newLength;
		this.type = type;
		this.id = id;
		this.text = text;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public int getFrom() {
		return from;
	}
	public void setFrom(int from) {
		this.from = from;
	}
	public int getLength() {
		return length;
	}
	public void setLength(int length) {
		this.length = length;
	}
	public int getNewLength() {
		return newLength;
	}
	public void setNewLength(int newLength) {
		this.newLength = newLength;
	}
	public int getLevel() {
		return level;
	}
	public void setLevel(int level) {
		this.level = level;
	}
	
}
